#include "SoftKey.h"
#include "../framework.h"

mmi_softkey_struct softkeystruct;

void SoftKeyInit(void)
{
	memset(softkeystruct, 0, sizeof(softkeystruct));
}

void SetLSKLabel(VMWSTR text)
{
	if(text)
	{
		softkeystruct.lsk_label = text;
	}
}

void SetRSKLabel(VMWSTR text)
{
	if(text)
	{
		softkeystruct.rsk_label = text;
	}
}

void SetSoftKeyLabel(VMWSTR lsk_label, VMWSTR rsk_label)
{
	SetLSKLabel(lsk_label);
	SetRSKLabel(rsk_label);
}

void SetSoftkeyBackgroundImg(VMUINT8* img)
{
	if(img)
	{
		softkeystruct.img = img;
	}
}

void DrawSoftKey(void)
{
	VMUINT8* frame_buffer = GetHDFrameBuffer();
	
}
